home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
fcmp200.zip
/
FCOMP.DOC
< prev
next >
Wrap
Text File
|
1993-10-02
|
6KB
|
155 lines
FCOMP 2.00
Copyright Guido Klemans 1993
Introduction
FCOMP is a tool to compare two files, to see if they are different and if so,
where. The files are compared in blocks of 200 bytes.
FCOMP expects two filenames on the command line (see Command Line
Parameters), a block from the first file will be displayed on the left of
the screen (this file will be called the left file) and a block from the
second file will be displayed on the right (this will be the right file).
You can scroll through both files simultaneously or scroll one independent of
the other in steps of 200, 10 or 1 byte(s). The displayed blocks will be
compared to each other, differences will be highlighted. You can send a
block or all blocks to the printer. You can choose between ASCII or
hexadecimal display. FCOMP can search for blocks with differences but you can
also search manually.
The following files are included:
fcomp.exe the FCOMP 2.00 program
fcomp.doc this document
fcomp.cfg the FCOMP configuration file
file_id.diz a short discription of FCOMP
Command Line Parameters
The command line parameters for FCOMP are as follows:
FCOMP file1 file2 [/u] [/a|/h] [/p]
- Optional parameters are shown between brackets.
- The first two parameters will be interpreted as the names of
the files you want to compare and are mandatory.
- The optional parameters can be typed using either upper case
or lower case and can be in any order provided that they
follow the mandatory filenames.
- All optional parameters must be preceded by a '/' character.
/a Display files in ASCII, can not be used in conjunction
with the /h parameter.
/h Display files in Hexadecimal notation, can not be used in
conjunction with the /a parameter.
/u Normally FCOMP will search the files in blocks of 200 bytes and
display the first block where the files are different, or indicate
that they are not. With this parameter you can force FCOMP to
display the first block, so you can scroll through the files by hand.
/p Send output to the printer. All 200 byte blocks where the files are
different are printed. When used in conjunction with the /u parameter
all blocks will be printed.
Command line parameters override default settings and setting stored in
the configuration file.
Configuration File
FCOMP uses a configuration file (called FCOMP.CFG) to store colorsettings and
the displaymode (ASCII or hexadecimal). This configuration file must be in the
same directory as the FCOMP program file. If FCOMP can't find it's
configuration file, default settings wil be used.
Function keys
F1 Display a short list of function keys
F3 Toggle between hexadecimal or ASCII display
F4 Find the next block of 200 bytes where the files
are different
F5 Enter a new offset for both files
Left Shift F5 Enter a new offset for the left file
Right Shift F5 Enter a new offset for the right file
Left Shift F6 Synchronise the left file with the right file
Right Shift F6 Synchronise the right file with the left file
F7 Print the currently displayed block
F8 Change the background color
Left Shift F8 Change the foreground color
Right Shift F8 Change the highlight color
F9 Save the current color and display settings to
the configuration file
Esc Exit FCOMP
Cursor Keys
PageUp Go back 200 bytes (1 block)
PageDown Go 200 bytes (1 block) forward
Up Go back 10 bytes
Down Go 10 bytes forward
Left Go 1 byte forward
Right Go 1 byte back
Home Go to the first byte
Use the cursor keys to scroll through both files simultaneously, or
in combination with Left Shift to scroll through the left file or with
Right Shift to scroll through the right file.
Licence:
Distribution:
You may distribute this software provided that no modifications are made
and all files are included.
No price or other compensation may be charged for this software.
Subscription BBSs may only charge standard connect-time rates or membership
fees. Diskette distribution cost for handling, media and shipping
may be charged, as long as the total per disk does not exceed US $8.00.
Vendors who wish to distribute this software as part of a collection
such as PsL''s, MegaDisk or CD-ROM package, may do so.
If this software is over one year old, a more current version will probably
be available from the author.
Use:
The author will not be liable for any damage rising form the use, misuse or
inability to use this software. By using the software you agree to this.
If you like this program, send me a postcard (or some money if you like it
a lot), if you use this program in business or to make money :-) , it would
be fair to pay me something.
Please send any suggestions, comments, postcards or cheques to:
Guido Klemans
Abdij van Egmondstr. 41
5037 CR Tilburg
The Netherlands